import java.sql.Connection;

public class transMoney {

    public static void main(String[] args) {

        try {

            // 连接数据库
            Connection conn = DBHelper.getConn();

            String sql = "select*from user_money";
            DBHelper.select_money(sql);

            // 实现用户之间转账
            DBHelper.money("Lucy","aa",600,false);

            DBHelper.select_money(sql);

        } catch (Exception e){
            e.printStackTrace();
        }

    }

}
